package day04;

public class Circle {
        private double radius;
        public final double PI = 3.14;

        public Circle(double radius) {
            this.radius = radius;
        }

        public void findArea() {
            System.out.printf("%.2f",PI * this.radius * this.radius);
        }
        public static void main(String[] args) {
            Circle c = new Circle(5);
            c.findArea();
        }
    }



